#include <stdio.h>

//int main()
//{
//    short a =10000;// 0x2710
////    FILE *pf = fopen("ascii.txt","w");
//    FILE *pf = fopen("bin.txt","w");
////    fprintf(pf,"%d",a);
//    fwrite(&a,2,1,pf);
//    fclose(pf);
////    printf("Hello World!\n");
//    return 0;
//}


int main()
{
    char buf[] = "abcd";
//    FILE *pf = fopen("ascii-01.txt","w");
    FILE *pf = fopen("bin-01.txt","w");
//    fprintf(pf,"%s",buf);
    fwrite(buf,4,1,pf);
    fclose(pf);
    return 0;
}
